﻿using BCDto.Common.WebsiteConfiguration;
using System;
using System.Collections.Generic;
using System.Text;

namespace BCService.Common.WebsiteConfigurationService
{
    /// <summary>
    /// 网站配置服务接口
    /// </summary>
    public interface IWebsiteConfigurationService
    {
        /// <summary>
        /// 获取网站配置标签
        /// </summary>
        /// <returns></returns>
        IDictionary<string, string> GetWebsiteConfigurationTags();
        /// <summary>
        /// 更新网站配置信息
        /// </summary>
        /// <param name="websiteConfigurationId">网站信息配置Id</param>
        /// <param name="websiteConfigurationPutDto">网站信息配置更新模型</param>
        /// <returns></returns>
        WebsiteConfigurationDto Update(int websiteConfigurationId,WebsiteConfigurationPutDto websiteConfigurationPutDto);
        /// <summary>
        /// 获取网站配置信息
        /// </summary>
        /// <param name="websiteConfigurationId">网站配置信息Id</param>
        /// <returns></returns>
        WebsiteConfigurationDto Get(int websiteConfigurationId);
        /// <summary>
        /// 获取网站配置信息
        /// </summary>
        /// <returns></returns>
        WebsiteConfigurationDto Get();
    }
}
